x86/VPMU: clear the overflow status of which counter happened to overflow
authorLuwei Kang <luwei.kang@intel.com>
Tue, 13 Dec 2016 13:21:26 +0000 (14:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2016 13:21:26 +0000 (14:21 +0100)
commit7a0c70482580234868fcc53b8d72e31966dc7c52
tree5b54cf165a35b712545e9a6afb09e43498e6611d
parente20c3eb8dd62dafab6c1318a13394da4028b3d33
x86/VPMU: clear the overflow status of which counter happened to overflow

Just set the corresponding bits of counters which happened to overflow,
rather than setting all the available bits of IA32_PERF_GLOBAL_OVF_CTRL
when pmu interrupt happened.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/vpmu_intel.c